package com.csx.governance.traffic.adm.model.dto;

import com.csx.governance.traffic.adm.model.pojo.PublishStage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 灰度发布业务实体
 * @author cuisongxu
 * @date 2023/5/4 14:16
 */

@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@Schema(description = "灰度发布传输实体")
public class GrayscalePublishmentDTO {

    @Schema(description = "发布名称")
    private String name;

    @Schema(description = "发布描述")
    private String desc;

    @Schema(description = "发布链接")
    private String link;

    @Schema(description = "发布阶段")
    private List<PublishStage> stages;

}
